const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    devServer: {
        host: '0.0.0.0',
        port: 8870,  //修改端口号
        https: false,
        proxy: {
            '/api': {
                target: 'http://11.123.255.126:8899',
                changeOrigin: true,
            },
            '/auth': {
                target: 'http://11.123.255.126:8899',
                changeOrigin: true,
            },
            '/console': {
                target: 'http://11.123.255.126:8899',
                changeOrigin: true,
            },
            '/favorite': {
                target: 'http://11.123.255.126:8899',
                changeOrigin: true,
            }
        }
    }
})
